<?php

namespace app\common\model\shoppay;

use app\common\model\CommonModel;
use think\facade\Db;


class ShopAllinpayModel extends CommonModel{

    protected  $name = 'shop_allinpay';

    protected  $pk   = 'id';


    public static function info($where){
        $info =self::where($where)->find();
        return $info;
    }
    public static function up($data,$where){
        $data['edit_time']=date('Y-m-d H:i:s');
        $res=self::update($data,$where);
        return $res;
    }
}

